package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"yklx5/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/deng", &controllers.WWW{}, "post:Deng")
	beego.Router("/roleQuanAdd", &controllers.WWW{}, "post:RoleQuanAdd")
	beego.Router("/userRoleList", &controllers.WWW{}, "post:UserRoleList")
	beego.Router("/roleQuanList", &controllers.WWW{}, "post:RoleQuanList")
	beego.Router("/compansAdd", &controllers.WWW{}, "post:CompansAdd")
	beego.Router("/orderAdd", &controllers.WWW{}, "post:OrderAdd")
	beego.Router("/list", &controllers.WWW{}, "post:List")
	beego.Router("/dan", &controllers.WWW{}, "post:Dan")
}
